<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .test{
            display: grid;
            grid-template-columns: 25% 25% 25% 25%;
            /*border:1px red solid;*/

        }
        .test1{
            height: 180px;
            margin: 10px;
            /*border: 1px solid black;*/
        }
        *{
            margin: 0;
            padding: 0;
            user-select:none;
        }
    </style>
</head>
<body>
<div class="test">
    <div class="test1"></div>
    <div class="test1"></div>
    <div class="test1"></div>
    <div class="test1"></div>
    <div class="test1"></div>

</div>
<script>
     var i=0;
     var a={
         i
     }
     console.log(a);
</script>
</body>
</html>